package com.xoa.model.workflow;

import com.xoa.model.enclosure.Attachment;

import java.util.List;

/**
 * Created by 韩东堂on 2017/6/12.
 */
public class FlowDetailInfo extends FlowTypeModel {
    private String sortName;
    private String formName;
    private String deptName;
    private String runName;
    private Integer procNum;
    private Integer endRun;
    private Integer runAll;
    private Integer archiveRun;
    private Integer runIngCount;
    private Integer cutNumber;
    private Integer canBack;
    private Integer canSign;
    private Integer canSync;
    private Integer runarchive;
    private List<Attachment> attachmentList;

    public Integer getRunarchive() {
        return runarchive;
    }

    public void setRunarchive(Integer runarchive) {
        this.runarchive = runarchive;
    }

    public Integer getCanBack() {
        return canBack;
    }

    public void setCanBack(Integer canBack) {
        this.canBack = canBack;
    }

    public Integer getCanSign() {
        return canSign;
    }

    public void setCanSign(Integer canSign) {
        this.canSign = canSign;
    }

    public Integer getCanSync() {
        return canSync;
    }

    public void setCanSync(Integer canSync) {
        this.canSync = canSync;
    }

    public String getSortName() {
        return sortName;
    }

    public void setSortName(String sortName) {
        this.sortName = sortName;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getDeptName() {
        return deptName==null?"全部部门":deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String getRunName() {
        return runName;
    }

    @Override
    public void setRunName(String runName) {
        this.runName = runName;
    }

    public Integer getProcNum() {
        return procNum;
    }

    public void setProcNum(Integer procNum) {
        this.procNum = procNum;
    }

    public Integer getEndRun() {
        return endRun;
    }

    public void setEndRun(Integer endRun) {
        this.endRun = endRun;
    }

    public Integer getRunAll() {
        return runAll;
    }

    public void setRunAll(Integer runAll) {
        this.runAll = runAll;
    }

    public Integer getArchiveRun() {
        return archiveRun==null?0:archiveRun;
    }

    public void setArchiveRun(Integer archiveRun) {
        this.archiveRun = archiveRun;
    }

    public Integer getRunIngCount() {
        return runIngCount;
    }

    public void setRunIngCount(Integer runIngCount) {
        this.runIngCount = runIngCount;
    }

    public Integer getCutNumber() {
        return cutNumber;
    }

    public void setCutNumber(Integer cutNumber) {
        this.cutNumber = cutNumber;
    }

    public List<Attachment> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<Attachment> attachmentList) {
        this.attachmentList = attachmentList;
    }
}
